﻿using Appliaction.Dto.Pinv;
using Domain.Entitys.Pinv;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Appliaction.IAppServices.Pinv
{
    public interface IPuService
    {
        int GetPuWhereCount(string Vendor_name, string Purret_code);//条件查询采购退货总条数

        List<Pu_details_Order> GetPuFyWhereSelect(string Vendor_name, string Purret_code, int currentPage, int pageSize);//分页条件查询采购退货信息

        Task<int> PutPuDelete(Pu_deleteDto pinv_Purret);//删除

        Task<int> PostPuAdd(Pu_Order_Details_AddDto<Pu_AddDto> Pu_Order_Details_AddDto);//添加

        Task<int> PutPuUpdate(Pu_Order_Details_UpdateDto<Pu_UpdateDto> pu_Order_Details_UpdateDto);//修改

        Task<int> PutPuAudit(Pu_Order_details_Dto<Pu_Audit_Dto> pu_Order_Details_Dto);//审核
    }
}
